﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Transport.Core.Models.Parcels
{
    public class ParcelPackagingItem
    {
        [Key]
        public int ParcelPackagingItemId { get; set; }
        [ForeignKey("ParcelPackagingGroup")]
        public int ParcelPackagingGroupId { get; set; }
        public virtual ParcelPackagingGroup ParcelPackagingGroup { get; set; }
        [ForeignKey("Parcel")]
        public int ParcelId { get; set; }
        public virtual Parcel Parcel { get; set; }
        public DateTime CreateDate { get; set; }
        public bool IsDeleted { get; set; }
    }
}
